library examples.hello_world.index_common_dart.ng_deps.dart;

import 'hello.dart';
import 'package:angular2/angular2.dart'
    show Component, Directive, View, NgElement;

var _visited = false;
void initReflector(reflector) {
  if (_visited) return;
  _visited = true;
  reflector
    ..registerType(HelloCmp, new ReflectionInfo(const [
      const Component(selector: 'hello-app'),
      const View(template: '<button (click)=\"action()\">go</button>')
    ], const [const []], () => new HelloCmp()))
    ..registerMethods(
        {'action': (o, List args) => Function.apply(o.action, args)});
}
